package main

import "fmt"

func main() {
	var userInfo map[string]string = make(map[string]string)
	userInfo["name"] = "chj"
	userInfo["age"] = "20"
	fmt.Println(userInfo)
	fmt.Println("-----------------------------------------------")
	var sliceA []int = make([]int, 4, 8)
	sliceA[0] = 100
	fmt.Println(sliceA, len(sliceA), cap(sliceA))
	fmt.Println("-----------------------------------------------")
	i := new(int)
	fmt.Println(*i)
	b := new(bool)
	fmt.Println(*b)
	s := new(string)
	fmt.Println(*s)
}
